package api_request

import (
	"im/model"
	"im/requests"
)

// swagger:parameters post-groups
type GetGroups struct {
	// in: body
	Body model.GroupsCreatable
}

// swagger:parameters get-groups-messages-by-id
type GetGroupMessagesById struct {
	// in:query
	Query requests.GetMessages
}

// swagger:parameters post-groups-by-users
type PostByUsers struct {
	// in: body
	Body requests.PostGroupsByUsers
}

// swagger:parameters delete-groups-by-users-by
type DeleteGroupsByUsersBy struct {
	// in: path
	GroupId int64 `json:"groupId"`
	// in: path
	UserId int64 `json:"userId"`
}
type DeleteGroupsByUsersByInner struct {
	GroupId int64 `json:"groupId"`
	UserId  int64 `json:"userId"`
}

// swagger:parameters get-groups-recommend
type GetRecommendGroups struct {
	// in: query
	requests.GetRecommendGroups
}

// swagger:parameters get-groups-by-id-posts
type GetGroupsPosts struct {
	requests.GetByGroupsPosts
}

// swagger:parameters put-groups-by-users
type PutGroupsByUsers struct {
	// in:body
	Body model.GroupsUsersModifiable
}
